Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize S-<lower-ascii> keymaps to uppercase ascii #9213

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

the-mikedavis
Copy link
Member

Keymaps that use the shift modifier and a lowercase ascii character should be equivalent to keymaps that use just the uppercase of that ascii character. We can normalize key events as we parse them out of strings so that both representations parse to the same event. This allows mapping keys like C-S-r which previously could only be bound by C-R.

Keymaps that use the shift modifier and a lowercase ascii character
should be equivalent to keymaps that use just the uppercase of that
ascii character. We can normalize key events as we parse them out of
strings so that both representations parse to the same event. This
allows mapping keys like `C-S-r` which previously could only be bound
by `C-R`.
@the-mikedavis the-mikedavis added C-enhancement Category: Improvements A-keymap Area: Keymap and keybindings S-waiting-on-review Status: Awaiting review from a maintainer. labels Jan 2, 2024
@archseer archseer merged commit 305d6e9 into master Jan 9, 2024
6 checks passed
@archseer archseer deleted the normalize-S-ascii branch January 9, 2024 01:04
dgkf pushed a commit to dgkf/helix that referenced this pull request Jan 30, 2024
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
Vulpesx pushed a commit to Vulpesx/helix that referenced this pull request Jun 7, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants